import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MovieDownloadEntity } from 'src/entities/movieDownload.entity';
import { MovieEntity } from 'src/entities/movie.entity';
import { MovieListController } from './movieList.controller';
import { MovieListService } from './movieList.service';

@Module({
    imports: [TypeOrmModule.forFeature([MovieDownloadEntity, MovieEntity])],
    controllers: [MovieListController],
    providers: [MovieListService],
})
export class MovieListModule {}
